/*
 * @Author: sikonggpw 1327325804@qq.com
 * @Date: 2023-02-08 10:36:58
 * @LastEditors: sikonggpw 1327325804@qq.com
 * @LastEditTime: 2023-02-08 10:41:40
 * @FilePath: \react-demo\src\page\移入移出动效\index.jsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react'
import { motion } from 'framer-motion'

import './index.scss'

export default function index() {
  return (
    <motion.div
      className='animate-div'
      whileHover={{ scale: 1.2 }}
      onHoverStart={() => console.log("starts")}
      onHoverEnd={() => console.log("ends")}
    />
  )
}
